﻿using System.Collections.Generic;

namespace Handin1
{
    public interface IFindItem
    {
        // Return (possibly empty) list of items that match search criteria
        // partnumber = 0 (wild card) or specific part number
        // description = "" (wild card) or string with free text
        List<IItem> LookUpItem(ulong partnumber, string description);
        // Configure how long items in cache should be used
        void SetCacheExpireTime(uint hours);
    }
}